/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package rentalmobil.testing;

import java.sql.Date;
import java.sql.SQLException;
import rentalmobil.entity.kembali_mobil;

/**
 *
 * @author Henfryandie
 */
public class kembali_mobil_testing_insert {

    public static void main(String[] args) throws SQLException {
    kembali_mobil km = new kembali_mobil();
    km.setNo_sewa(1);
    km.setNamaPenyewa("Andrew");
    km.setAlamatPenyewa("Jln. Monjali");
    km.setJaminan("KacaMata");
    km.setTanggalSewa(Date.valueOf("2011-11-12"));
    km.setTanggalKembali(Date.valueOf("2011-11-15"));
    km.setNo_plat_mobil("AB 1234");
    km.kembaliMobilInsert();
    }
}
